#include <iostream>
#include <vector>

using namespace std;

template<typename T>
void printVector(vector<T>& vec) {
	for (auto it = vec.begin(); it != vec.end(); it++) {
		cout << *it << " ";
	}
	cout << endl;
}
void test() {
	vector<int> vec{1, 2, 3};
	cout << "capacity : " << vec.capacity() << endl;
	//vec.reserve(10);
	cout << "capacity : " << vec.capacity() << endl;
	printVector(vec);

	cout << vec[5] << endl;

}
int main() {
	test();

	cout << "end..." << endl;
	return 0;
}